package com.itheima.service.oms;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.core.PageInfo;
import com.itheima.pojo.oms.OmsOrder;
import com.itheima.pojo.oms.deliveryParamList;
import com.itheima.pojo.oms.moneyInfoParam;
import com.itheima.pojo.oms.vo.receiverInfoParam;

import java.util.List;

public interface OmsOrderService extends IService<OmsOrder> {
    //批量删除订单
    boolean delete(List<OmsOrder> ids);
    //批量关闭订单
    void colse(List<Integer> ids, String note);
    //*批量发货*/
    void delivery(List<deliveryParamList> deliveryParamList);
    /*修改订单费用信息*/
    void moneyInfo(moneyInfoParam moneyInfoParam);
    /*备注订单*/
    void note(Integer id,String note,Integer status);
    /*修改收货人信息*/

    void receiverInfo(receiverInfoParam receiverInfoParam);
    //获取订单信息
    List<OmsOrder> GeiByID(int id);
    /*分页查询订单*/
    PageInfo  listAll(int pageNum, int pageSize,String createTime,String orderSn,
                      Integer orderType,Integer   sourceType,String receiverKeyword, Integer status);

    OmsOrder GeiByid(int id);

    void deleteIds(List<Integer> ids);
}
